package com.example.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class News {

    private Integer id;
    private String title;
    private LocalDateTime publishTime;
    private String source;
    private String url;
    private String content;
    private Integer categoryId;
    private String categoryName;
}
